﻿using System;
using System.Collections.Generic;
using System.Text;
using AspNetCs.Model;
using System.Data;
using System.Data.SqlClient;

namespace AspNetCs.IDAL
{
   public interface IAnnounce
    {
       
       int Add(Announce_Model model);
       int del(int id);
       int update(Announce_Model model);
       
       Announce_Model GetModel(DataRow dr);
       Announce_Model GetModel(int id);

       /// <summary>
       /// 获得网站公告列表
       /// </summary>
       /// <returns></returns>
       DataTable GetAnnounceList(string filter);
    }
}
